package com.gzist.elderlyserviceplatform.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户新增或编辑接口DTO
 */
@Data
@Schema(name = "UserPageDTO", description = "用户新增或编辑接口DTO")
public class UserInfoSave0rUpdateDTO implements Serializable {

    @Schema(accessMode = Schema.AccessMode.READ_ONLY)
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户id")
    private String id;

    @Schema(description = "用户账号")
    private String username;

    @Schema(description = "用户姓名")
    private String name;

    @Schema(description = "用户电话")
    private String phone;

    @Schema(description = "用户邮箱")
    private String email;

    @Schema(description = "用户头像")
    private String avatar;
}